package com.oracle.zebrafreelytraveling.utils;

import com.iflytek.cloud.thirdparty.B;
import com.oracle.zebrafreelytraveling.data.RequestResult.ResFoodInfo;
import com.oracle.zebrafreelytraveling.data.RequestResult.ResHotelList;
import com.oracle.zebrafreelytraveling.data.RequestResult.ResViewSpotList;
import com.oracle.zebrafreelytraveling.utils.constant.Constant;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by yydcnjjw on 2017/8/11.
 */

public class ClassInfoUtil {

    public static List<ResFoodInfo.ResultBean> getFoodList(){
        List<ResFoodInfo.ResultBean> list = new ArrayList<>();
        for (int i = 0; i < 10; i++) {
            ResFoodInfo.ResultBean resultBean = new ResFoodInfo.ResultBean();
            resultBean.setName("某某美食");
            resultBean.setCity("南京");
            resultBean.setPhotos(Constant.DOWNLOAD_URL + "image/cache/3.jpg");
            resultBean.setLatitude("118.520221");
            resultBean.setLongitude("32.255485");
            resultBean.setAddress("某某美食在某个地方。。。。。。。");
            resultBean.setAll_remarks("很美味很美味很美味很美味很美味很美味很美味");
            resultBean.setArea("还有面积这种东西吗");
            resultBean.setAvg_price("还有价格吗");
            resultBean.setCommon_remarks("正常的评价");
            resultBean.setBad_remarks("谁懂还有啥啊");
            resultBean.setEnvironment_rating("环境真好OTZ");
            resultBean.setNearby_shops("附近的商店");
            resultBean.setPhone("021-54466556");
            resultBean.setService_rating("adadadadadad");
            resultBean.setStars("stars");
            resultBean.setTags("tags");
            list.add(resultBean);
        }
        return list;
    }

    public static List<ResViewSpotList.ResultBean> getViewSpotList(){
        List<ResViewSpotList.ResultBean> list = new ArrayList<>();
        for (int i = 0; i < 10; i++) {
            ResViewSpotList.ResultBean bean = new ResViewSpotList.ResultBean();
            bean.setAddress("某某景点在某个地方某某景点在某个地方某某景点在某个地方某某景点在某个地方");
            bean.setCityId("31");
            bean.setComm_cnt("这是啥看不懂");
            bean.setGrade("aadadadadadaa");
            bean.setImgurl(Constant.DOWNLOAD_URL + "image/cache/12.jpg");
            bean.setSid("3");
            bean.setTitle("我也不知道这是啥景点");
            bean.setUrl("还需要上网吗- - ！");
            bean.setPrice_min("最小价格");
            list.add(bean);
        }
        return list;
    }

    public static List<ResHotelList.ResultBean> getHotelList(){
        List<ResHotelList.ResultBean> list = new ArrayList<>();
        for (int i = 0; i < 10; i++) {
            ResHotelList.ResultBean bean = new ResHotelList.ResultBean();
            bean.setUrl("url呃呃呃呃呃呃呃呃呃");
            bean.setAddress("呵呵呵呵不告诉你呵呵呵呵不告诉" +
                    "你呵呵呵呵不告诉你呵呵呵呵不告诉你呵呵呵呵不告诉你");
            bean.setCityId("1");
            bean.setClassName("caccaac");
            bean.setDpNum("adadadadad");
            bean.setIntro("我咋介绍给你我咋介绍给你我咋介绍给你我咋介绍给你我咋介绍" +
                    "给你我咋介绍给你我咋介绍给你我咋介绍给你");
            bean.setLat("118.520221");
            bean.setLon("32.255485");
            bean.setName("这个叫啥");
            bean.setId("1");
            bean.setManyidu("addddddd");
            bean.setLargePic(Constant.DOWNLOAD_URL + "image/cache/5.jpg");
            list.add(bean);
        }
        return list;
    }
}
